use fieldbook 
go

/* Fill in resource categories */
if not exists (select CategoryID from dbo.ResourceCategory where Description = 'General')
begin
 insert into dbo.ResourceCategory (Description) values ('General')
end
go

if not exists (select CategoryID from dbo.ResourceCategory where Description = 'Chemistry')
begin
 insert into dbo.ResourceCategory (Description) values ('Chemistry')
end
go

if not exists (select CategoryID from dbo.ResourceCategory where Description = 'Seeds')
begin
 insert into dbo.ResourceCategory (Description) values ('Seeds')
end
go
